﻿
namespace SelfManagement.Database.EF
{
    using POCO;
    using System.Data.Entity;


    public partial class SelfManagementContext: DbContext
    {
        public SelfManagementContext(string nameOrConnectionString)
            : base(nameOrConnectionString)
        {
        }

        #region DbSet
        public virtual DbSet<User> Users { get; set; }
        public virtual DbSet<Daily> Dailies { get; set; }
        public virtual DbSet<DailyTask> DailyTasks { get; set; }
        public virtual DbSet<ArticleCategory> ArticleCategories { get; set; }
        public virtual DbSet<Article> Articles { get; set; }
        public virtual DbSet<Senior> Seniors { get; set; }
        #endregion

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }
    }
}
